package insight.google.game.era.core.hub;

public enum UserEvents {

//	HOSTPROXY_SHOWMAINPAGE("1"),
//	ROOMPROXY_NOTIFYUSERJOINED("2001"),
//	ROOMPROXY_GAMELOGACTION("2002"),
//	ROOMPROXY_READYFORSTART("2003"),
//	ROOMPROXY_ROOMINIT("2004"),
//	ROOMPROXY_PUBLICDATAVERSION("2005"),
//	ROOMPROXY_SHOW_ERROR_MSG("2006"),
//	ROOMPROXY_NOTIFY_ACTIVE_USER("2007"),
//	ROOMPROXY_NOTIFY_USER_LIFE_COUNT("2008"),
//	ROOMPROXY_NOTIFY_USER_CARD_COUNT("2009"),
//	ROOMPROXY_NOTIFY_USER_EQUIPEMENT_CARD("2010"),
//	ROOMPROXY_NOTIFY_USER_PLAYED_CRAD("2011"),
//	ROOMPROXY_GAME_RESULT("2012"),
//	ROOMPROXY_SHOW_USER_LIST("2013"),
//	ROOMPROXY_("20"),
//	PLAYERPROXY_DISPATCH_ROLECARDS("3001"),
//	PLAYERPROXY_DISPATCH_CHARACTERCARDS("3002"),
//	PLAYERPROXY_SHOW_ROLECARDS("3004"),
//	PLAYERPROXY_SHOW_CHARACTERCARDS("3005"),
	PLAYERPROXY_DISPATCH_CARDS("3006"),
//	PLAYERPROXY_RECIEVE_CARDS("3007"),
	PLAYERPROXY_ATACKCARD_POLICYEXECUTE("3008"),
	PLAYERPROXY_DUALCARD_POLICYEXECUTE("3009"),
//	PLAYERPROXY_MILKCARD_POLICYEXECUTE("3010"),
	PLAYERPROXY_SETACTIVE("3011"),
//	PLAYERPROXY_HEAL_LIFE("3012"),
//	PLAYERPROXY_RECIEVE_PLAYERCARD("3013"),
//	PLAYERPROXY_DISPLAY_LIFECOUNT("3014"),
	PLAYERPROXY_SETACTIVECARD("3015"),
	PLAYERPROXY_ENABLE_POLICYEXECUTE("3016"),
	PLAYERPROXY_REGISTER_ATTACKABLEUSER("3017"),
//	PLAYERPROXY_SELECT_DROPCARDS("3018"),
//	PLAYERPROXY_FINISH_DROPCARDS("3019"),
//	PLAYERPROXY_FINISH_POLICYEXECUTE("3020"),
	PLAYERPROXY_REMOVE_CLIENT_SELECTEDCARD("3021"),
	PLAYERPROXY_REPLACE_EQUIPEMENTCARD("3022"),
	PLAYERPROXY_REMOVE_CLIENT_CARD("3023"),
//	PLAYERPROXY_SHOW_CARD_TO_USER("3024"),
//	PLAYERPROXY_UPDATE_UI_PROFILE("3025"),
//	PLAYERPROXY_PROFILE_CHANGE_NOTIFICATION("3026"),
//	PLAYERPROXY_READY_TO_PLAY("3027"),
//	PLAYERPROXY_ASK_CARD_DISCARD("3028"),
//	PLAYERPROXY_("302"),
//	PLAYERPROXY_("302"),
//	PLAYERPROXY_("302"),
//	PLAYERPROXY_("302"),
//	PLAYERPROXY_("300"),
//	PLAYERPROXY_("300"),
//	PLAYERPROXY_("300"),
//	PLAYERPROXY_("300"),
//	PLAYERPROXY_("300"),
	CHATPROXY_SENDMSG("402"),
	
	
	;
	
	String value;
	private UserEvents(String value){
		this.value = value;
	}
	public String toString(){
		return value;
	}

    public String getValue() {
        return value;
    }
 
    public static UserEvents getEventByValue(String value) {
        for (UserEvents event : UserEvents.values()) {
            if (event.getValue().equals(value)) {
                return event;
            }
        }
        return null;
    }
}
